package com.yuncheng.oaApi.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.yuncheng.common.base.entity.BaseEntity;

/**
 * @Description: sys_role
 * @Author: yuncheng
 * @Date: 2023-10-10
 * @Version: V1.0
 */
@ApiModel(value = "sys_role对象", description = "sys_role")
@TableName("sys_role")
public class OaSysRole extends BaseEntity implements Serializable {

    @Excel(name = "角色名称", width = 15)
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @Excel(name = "角色编码", width = 15)
    @ApiModelProperty(value = "角色编码")
    private String roleCode;

    @Excel(name = "角色排序", width = 15)
    @ApiModelProperty(value = "角色排序")
    private Long roleOrder;

    @Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String description;

    @Excel(name = "是否后端 1：是 0：否", width = 15)
    @ApiModelProperty(value = "是否后端 1：是 0：否")
    private Integer back;


    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public Long getRoleOrder() {
        return roleOrder;
    }

    public void setRoleOrder(Long roleOrder) {
        this.roleOrder = roleOrder;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getBack() {
        return back;
    }

    public void setBack(Integer back) {
        this.back = back;
    }

}
